#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int n, i, j, k;
    while (scanf("%d", &n) != EOF)
        for (i = 1; i <= n; i++)
        {
            for (j = n - i; j >= 1; j--)
            {
                printf(" ");
            }
            for (k = 1; k <= i; k++)
                printf("* ");
            printf("\n");
        }
    return 0;
}